package com.sc.nft.entity.req;

import com.sc.nft.dto.IdRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author 刘国航
 * @since 2024/8/10 17:58
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class EcologyPoolUpdatePoolNameRpcRequest extends IdRequest {

    @ApiModelProperty("品牌ID")
    @NotNull(message = "品牌ID不能为空")
    private Long daoId;

    @ApiModelProperty("生态池名称")
    @NotBlank(message = "生态池名称不能为空")
    private String poolName;

}
